import Vue from 'vue'
import Router from 'vue-router'
import goods from '@/components/goods/Goods'
import ratings from '@/components/ratings/Ratings'
import seller from '@/components/seller/Seller'

Vue.use(Router)

export default new Router({
  routes: [
	  {
		  path: '/',
		  redirect: '/goods'
	  },
	  {
		  path: '/goods',
		  component: goods
	  },
	  {
		  path: '/ratings',
		  component: ratings
	  },
	  {
		  path: '/seller',
		  component: seller
	  }
  ],
	linkActiveClass: 'active'
})
